package com.shop.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.admin.entity.Post;
import com.shop.admin.utils.PageUtils;
import com.shop.admin.vo.PostToExamineVo;

import java.util.List;
import java.util.Map;

public interface PostService extends IService<Post> {
    PageUtils postList(Map<String, Object> params);

    PageUtils commentList(Map<String, Object> params);

    void toExamine(PostToExamineVo vo);

    PageUtils postToExamineList(Map<String, Object> params);

    void deletePost(List<Long> asList);

    void deletePostComment(List<Long> asList);

    PageUtils postTopList(Map<String, Object> params);

    void topPostSave(List<Long> asList);

    void topPostDelete(List<Long> asList);
}
